package com.sgj.gulimall.ware.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: Guoji Shen
 * @Date: 2021/7/9 8:36
 */
@Data
public class PurchaseDoneVo {

    /**
     * 采购单id
     */
    @NotNull
    private Long id;

    private List<PurchaseItemDoneVo> items;

    @Data
    public static class PurchaseItemDoneVo {

        /**
         * 采购项id
         */
        private Long itemId;

        /**
         * 是否完成
         */
        private Integer status;

        /**
         * 原因
         */
        private String reason;
    }
}